<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\..\MonoDevelop.props" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{FDA43CAA-1C2A-4593-8601-3E2EE06D9E03}</ProjectGuid>
    <OutputType>Library</OutputType>
    <RootNamespace>MonoDevelop.Core.Tests</RootNamespace>
    <AssemblyName>MonoDevelop.Core.Tests</AssemblyName>
    <TestRunnerCommand>..\..\build\bin\mdtool.exe</TestRunnerCommand>
    <TestRunnerArgs>run-md-tests</TestRunnerArgs>
    <TargetFrameworkVersion>$(MDFrameworkVersion)</TargetFrameworkVersion>
    <OutputPath>..\..\build\tests</OutputPath>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Xml" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="mscorlib" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.ComponentModel.Composition" />
    <Reference Include="System.Configuration" />
    <!-- when building with xbuild on Unix, $(MSBuildToolsPath) is like `$prefix/lib/mono/xbuild/*/bin`
    when building with msbuild on Unix, $(MSBuildToolsPath) is like `$prefix/lib/mono/msbuild/*/bin`
    Prefer referencing msbuild 15.* assemblies over 14.1 . At runtime, we use correct one anyway
    -->
    <Reference Include="Microsoft.Build">
      <HintPath>$(MSBuildToolsPath)\Microsoft.Build.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Build.Framework">
      <HintPath>$(MSBuildToolsPath)\Microsoft.Build.Framework.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Build.Utilities.Core">
      <HintPath>$(MSBuildToolsPath)\Microsoft.Build.Utilities.Core.dll</HintPath>
      <Private>False</Private>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Moq" Version="4.7.145" />
    <PackageReference Include="Castle.Core" Version="4.2.1" />
    <PackageReference Include="Mono.Cecil" Version="$(NuGetVersionCecil)" />
  </ItemGroup>
  <ItemGroup>
      <IncludeCopyLocal Include="Moq.dll" />
      <IncludeCopyLocal Include="Castle.Core.dll" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="MonoDevelop.Core\BacktrackingStringMatcherTests.cs" />
    <Compile Include="MonoDevelop.Core\CoreExtensionsTests.cs" />
    <Compile Include="MonoDevelop.Core\FilePathTests.cs" />
    <Compile Include="MonoDevelop.Core\FileServiceTests.cs" />
    <Compile Include="MonoDevelop.Core\LaneStringMatcherTests.cs" />
    <Compile Include="MonoDevelop.Core\LoggingServiceTests.cs" />
    <Compile Include="MonoDevelop.Core\MonoExecutionParametersTests.cs" />
    <Compile Include="MonoDevelop.Core\RemoteProcessConnectionTests.cs" />
    <Compile Include="MonoDevelop.Core\RuntimeTests.cs" />
    <Compile Include="MonoDevelop.Core\StringParserServiceTests.cs" />
    <Compile Include="MonoDevelop.Core.Assemblies\SystemAssemblyServiceTests.cs" />
    <Compile Include="MonoDevelop.Projects\FileServiceTests.cs" />
    <Compile Include="MonoDevelop.Projects\FlavorMigration.cs" />
    <Compile Include="MonoDevelop.Projects\GetSourceFilesAsyncTests.cs" />
    <Compile Include="MonoDevelop.Projects\ItemMetadataTests.cs" />
    <Compile Include="MonoDevelop.Projects\LocalCopyTests.cs" />
    <Compile Include="MonoDevelop.Projects\MakefileTests.cs" />
    <Compile Include="MonoDevelop.Projects\MSBuildGlobTests.cs" />
    <Compile Include="MonoDevelop.Projects\MSBuildLoggerTests.cs" />
    <Compile Include="MonoDevelop.Projects\MSBuildProjectServiceTests.cs" />
    <Compile Include="MonoDevelop.Projects\MSBuildProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\MSBuildSearchPathTests.cs" />
    <Compile Include="MonoDevelop.Projects\ProjectCapabilityTests.cs" />
    <Compile Include="MonoDevelop.Projects\ProjectReevaluationTests.cs" />
    <Compile Include="MonoDevelop.Projects\ProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\PropertyBagTests.cs" />
    <Compile Include="MonoDevelop.Projects\RunConfigurations.cs" />
    <Compile Include="MonoDevelop.Projects\SdkVersionTests.cs" />
    <Compile Include="MonoDevelop.Projects\SharedAssetsProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\SolutionFolderTests.cs" />
    <Compile Include="MonoDevelop.Projects\SolutionTests.cs" />
    <Compile Include="MonoDevelop.Projects\StringTagTests.cs" />
    <Compile Include="MonoDevelop.Projects\TestProjectsChecks.cs" />
    <Compile Include="MonoDevelop.Projects\TextFileTests.cs" />
    <Compile Include="MonoDevelop.Projects\TextFormatterTests.cs" />
    <Compile Include="MonoDevelop.Projects\WebProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\WorkspaceTests.cs" />
    <Compile Include="MonoDevelop.Projects\ConfigurationMergingTests.cs" />
    <Compile Include="MonoDevelop.Projects\TestLanguageProject.cs" />
    <Compile Include="MonoDevelop.Projects\ProjectBuildTests.cs" />
    <Compile Include="MonoDevelop.Projects\ProjectLoadSaveTests.cs" />
    <Compile Include="MonoDevelop.Projects\ProjectTargetEvaluationTests.cs" />
    <Compile Include="MonoDevelop.Projects\ExtendedProjectPropertyTests.cs" />
    <Compile Include="MonoDevelop.Projects\ProjectWithWildcardsTests.cs" />
    <Compile Include="MonoDevelop.Projects\DotNetCoreProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\PortableLibraryTests.cs" />
    <Compile Include="MonoDevelop.Projects\GenericProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\NetStandardProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\BuilderManagerTests.cs" />
    <Compile Include="MonoDevelop.Core.Execution\BinaryMessageTests.cs" />
    <Compile Include="MonoDevelop.Core\ProgressMonitorTests.cs" />
    <Compile Include="MonoDevelop.Projects\DotNetCoreFileWatcherTests.cs" />
    <Compile Include="MonoDevelop.Projects\FileWatcherTests.cs" />
    <Compile Include="MonoDevelop.Core\InstrumentationTests.cs" />
    <Compile Include="MonoDevelop.FSW\PathTreeNodeTests.cs" />
    <Compile Include="MonoDevelop.FSW\PathTreeTests.cs" />
    <Compile Include="MonoDevelop.Projects\ExtensionChainTests.cs" />
    <Compile Include="MonoDevelop.Core\PropertyTests.cs" />
    <Compile Include="MonoDevelop.Projects\GetAnalyzerFilesAsyncTests.cs" />
    <Compile Include="MonoDevelop.Core.Instrumentation\BucketTimingsTests.cs" />
    <Compile Include="MonoDevelop.Utilities\RaceCheckerTests.cs" />
    <Compile Include="MonoDevelop.Core\FeatureSwitchServiceTests.cs" />
    <Compile Include="MonoDevelop.Core\ServiceProviderTests.cs" />
    <Compile Include="MonoDevelop.Core.Web\ProxyAuthenticationHandlerTests.cs" />
    <Compile Include="MonoDevelop.Core.Web\TestProxy.cs" />
    <Compile Include="MonoDevelop.Core.Web\LambdaMessageHandler.cs" />
    <Compile Include="MonoDevelop.Core.Web\HttpSourceAuthenticationHandlerTests.cs" />
    <Compile Include="MonoDevelop.Core\SdkResolverTests.cs" />
    <Compile Include="MonoDevelop.Core\FileServiceEventQueueTests.cs" />
    <Compile Include="MonoDevelop.Core\FileServiceEventStateMachineTests.cs" />
    <Compile Include="MonoDevelop.Projects\AsyncCriticalSectionTests.cs" />
    <Compile Include="MonoDevelop.Core\UserProfileTests.cs" />
    <Compile Include="MonoDevelop.Projects\MSBuildSdkProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\MultiTargetProjectTests.cs" />
    <Compile Include="MonoDevelop.Projects\FileWatcherServiceTests.cs" />
    <Compile Include="MonoDevelop.Projects\FileWatcherTestBase.cs" />
    <Compile Include="MonoDevelop.Core\DedicatedThreadSchedulerTests.cs" />
    <Compile Include="MonoDevelop.Projects\IntrinsicFunctionsTests.cs" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\src\core\MonoDevelop.Core\MonoDevelop.Core.csproj">
      <Project>{7525BB88-6142-4A26-93B9-A30C6983390A}</Project>
      <Name>MonoDevelop.Core</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\external\mono-addins\Mono.Addins\Mono.Addins.csproj">
      <Project>{91DD5A2D-9FE3-4C3C-9253-876141874DAD}</Project>
      <Name>Mono.Addins</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\UnitTests\UnitTests.csproj">
      <Project>{1497D0A8-AFF1-4938-BC22-BE79B358BA5B}</Project>
      <Name>UnitTests</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\external\guiunit\src\framework\GuiUnit_NET_4_5.csproj">
      <Project>{D12F0F7B-8DE3-43EC-BA49-41052D065A9B}</Project>
      <Name>GuiUnit_NET_4_5</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\MonoDevelop.Core.Tests.Addin\MonoDevelop.Core.Tests.Addin.csproj">
      <Project>{CF789E43-7AAF-4690-BA32-ABD75DEEB087}</Project>
      <Name>MonoDevelop.Core.Tests.Addin</Name>
      <ReferenceOutputAssembly>False</ReferenceOutputAssembly>
    </ProjectReference>
    <!-- when building with xbuild on Unix, $(MSBuildToolsPath) is like `$prefix/lib/mono/xbuild/*/bin`
    when building with msbuild on Unix, $(MSBuildToolsPath) is like `$prefix/lib/mono/msbuild/*/bin`
    Prefer referencing msbuild 15.* assemblies over 14.1 . At runtime, we use correct one anyway
    -->
    <Reference Include="Microsoft.Build">
      <HintPath>$(MSBuildToolsPath)\Microsoft.Build.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Build.Framework">
      <HintPath>$(MSBuildToolsPath)\Microsoft.Build.Framework.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Build.Utilities.Core">
      <HintPath>$(MSBuildToolsPath)\Microsoft.Build.Utilities.Core.dll</HintPath>
      <Private>False</Private>
    </Reference>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
